import request from "../../config/request"

export const loadAdminCourse = function(params={}){
    return request({
        url:'/api/v1/admin/class',
        method:"get",
        params:params
    })
}

export const removeAdminCourse=function(class_id=''){
    return request({
        url:'/api/v1/admin/class',
        method:'delete',
        params:{
            class_id:class_id
        }
    })
}